#include <stdio.h>

int sum = 0;
void mysum(int i)
{
    printf("mysum=%d\n",i);
    sum += i;
    i++;
    if(i > 100)
    {
        return;
    }
    mysum(i);
}
int main(int argc, char const *argv[])
{
    mysum(1);
    printf("sum= %d\n",sum);
    return 0;
}
